home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
bbsutil
/
ra_111_2.zip
/
STRUCT.111
< prev
next >
Wrap
Text File
|
1992-01-25
|
18KB
|
516 lines
(* File "STRUCT.111" *)
(* Structures document for RemoteAccess 1.10/1.11/Noncommercial. *)
(* May be freely distributed in unmodified form and used *)
(* by third-party developers. This document is Copyright *)
(* (C) 1991 Andrew Milner and Continental Software. *)
type
AskType = (Yes, No, Ask, Only);
VideoType = (Auto, Short, Long);
MsgType = (LocalMail, NetMail, EchoMail);
MsgKindsType = (Both, Private, Public, ROnly);
OrphanType = (Ignore, Create, Kill);
FlagType = array[1..4] of Byte;
Time = String[5];
Date = String[8];
LongDate = String[9];
NetAddress = record
Zone,
Net,
Node,
Point : Word;
end;
LANGUAGErecord = record
Name : String[20];
Attribute : Byte;
DefName,
MenuPath,
TextPath,
QuesPath : String[60];
FreeSpace : Array[1..200] of Byte;
end;
MSGINFOrecord = record
LowMsg,
HighMsg,
TotalMsgs : Word;
TotalOnBoard : array[1..200] of Word;
end;
MSGIDXrecord = record
MsgNum : Integer;
Board : Byte;
end;
MSGTOIDXrecord = String[35];
MSGHDRrecord = record
MsgNum : Integer;
PrevReply,
NextReply,
TimesRead : Word;
StartBlock : Word;
NumBlocks,
DestNet,
DestNode,
OrigNet,
OrigNode : Word;
DestZone,
OrigZone : Byte;
Cost : Word;
MsgAttr,
NetAttr,
Board : Byte;
PostTime : Time;
PostDate : Date;
WhoTo,
WhoFrom : MSGTOIDXrecord;
Subject : String[72];
end;
MSGTXTrecord = String[255];
USERONrecord = record
Name,
Handle : MSGTOIDXrecord;
Line : Byte;
Baud : Word;
City : String[25];
DoNotDisturb : Boolean;
Status : Byte;
Attribute : Byte;
end;
{ Status byte - 0 : Browsing (in a menu)
1 : Uploading/downloading
2 : Reading/posting messages
3 : In a door/external utility
4 : Chatting with sysop
5 : Answering questionnaire
6 : System ready (0=busy)
Attribute - Bit 0 : Hidden }
LASTCALLrecord = record
Line : Byte;
Name,
Handle : MSGTOIDXrecord;
City : String[25];
Baud : Word;
Times : LongInt;
LogOn : String[5];
LogOff : String[5];
Attribute : Byte;
end;
{ Attribute - Bit 0 : Hidden }
LASTREADrecord = array[1..200] of Word;
COMBINEDrecord = array[1..25] of Byte;
USERSIDXrecord = record
NameCRC32,
HandleCRC32 : LongInt;
end;
USERSXIrecord = record
Handle : String[35];
Comment : String[80];
FirstDate : Date;
CombinedInfo : COMBINEDrecord;
BirthDate,
SubDate : Date;
ScreenWidth,
MsgArea,
FileArea,
Language,
DateFormat : Byte;
ForwardTo : String[35];
ExtraSpace : Array[1..43] of Byte;
end;
USERSrecord = record
Name : MSGTOIDXrecord;
Location : String[25];
Password : String[15];
DataPhone,
VoicePhone : String[12];
LastTime : Time;
LastDate : Date;
Attribute : Byte;
{ Bit 0 : Deleted
1 : Clear screen
2 : More prompt
3 : ANSI
4 : No-kill
5 : Xfer priority
6 : Full screen msg editor
7 : Quiet mode }
Flags : FlagType;
Credit,
Pending : Word;
MsgsPosted,
LastRead,
Security,
NoCalls,
Uploads,
Downloads,
UploadsK,
DownloadsK : Word;
TodayK,
Elapsed : Integer;
ScreenLength : Word;
LastPwdChange,
Attribute2,
{ Bit 0 : Hot-keys
1 : AVT/0
2 : Full screen message viewer
3 : Hidden from userlist }
Group : Byte;
XIrecord : Word;
ExtraSpace : array[1..3] of Byte;
end;
SYSINFOrecord = record
TotalCalls : LongInt;
LastCaller : MSGTOIDXrecord;
ExtraSpace : array[1..128] of Byte;
end;
TIMELOGrecord = record
StartDate : Date;
BusyPerHour : array[0..23] of Word;
BusyPerDay : array[0..6] of Word;
end;
MNUrecord = record
Typ : Byte;
Security : Word;
Flags : FlagType;
Display : String[75];
HotKey : Char;
MiscData : String[80];
Foreground,
Background : Byte;
end;
EVENTrecord = record
Status : Byte; { 0=Deleted 1=Enabled 2=Disabled }
StartTime : Time;
ErrorLevel : Byte;
Days : Byte;
Forced : Boolean;
LastTimeRun : Date;
end;
EVENTrecordArray = array[1..20] of EVENTrecord;
MESSAGErecord = record
Name : String[40];
Typ : MsgType;
MsgKinds : MsgKindsType;
Attribute : Byte;
{ Bit 0 : Enable EchoInfo
1 : Combined access
2 :